<div class="dux-tabs-fixed">
    <ul class="uk-grid uk-grid-collapse uk-child-width-expand dux-tabs">
        <li class="{$type == 0 ? 'active' : 0}">
            <a href="{url('')}">全部</a>
        </li>
        <li class="{$type == 1 ? 'active' : 0}">
            <a href="{url('', ['type' => 1])}">处理中</a>
        </li>
        <li class="{$type == 2 ? 'active' : 0}">
            <a href="{url('', ['type' => 2])}">已完成</a>
        </li>
        <li class="{$type == 3 ? 'active' : 0}">
            <a href="{url('', ['type' => 3])}">失败</a>
        </li>
    </ul>
</div>
<div data-dux="page-ajaxPage" data-list="#list" data-tpl="#list-tpl" data-url='{url("ajax", $urlParams)}' data-page="1">
    <ul class="uk-list uk-list-divider dux-list" id="list">
    </ul>
</div>


<script type="text/html" id="list-tpl">
    {{# for(var i = 0; i < d.length; i++){ }}
    <li>
        <a href="{{d[i].url}}" class="dux-flex">
        <div>
            <div class="title">
                {{ d[i].bank }}
            </div>
            <p>尾号{{ d[i].account}}</p>
        </div>
        <div class="flex-1 uk-text-center uk-padding-small">
            {{# if(d[i].status == 2){ }}
            <span class="uk-text-success">
            {{# } }}
            {{# if(d[i].status == 1){ }}
            <span class="uk-text-warning">
            {{# } }}
            {{# if(d[i].status == 0){ }}
            <span class="uk-text-danger">
            {{# } }}
            {{d[i].show_status}}
                </span>
        </div>
        <div class="uk-text-right">
            <div class="title">
                <span class="uk-text-danger">
                {{ d[i].money }}
                </span>
            </div>
            <p>{{ d[i].show_time}}</p>
        </div>
        </a>
    </li>
    {{# } }}
</script>